<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<title>测试文档无标题</title>
	<style type="text/css">
	* {
		padding: 0;
		margin: 0;
	}
    </style>
</head>
<body>
	<h1>Hello</h1>
	<script src="https://cdn.staticfile.org/jquery/3.5.1/jquery.js"></script>
	<script type="text/javascript">
	 var a = 0.1;
	 var b = 0.2;
	 var c = a + b
	 console.log(a, b, c, c == 0.3) ;

	 function calc(a, b) {
	 	var bei = 100;
	 	return (a * bei + b * bei) / bei;
	 }

	 console.log(calc(a, b)) ;
	</script>
</body>
</html>